package com.leo.study.service.impl;

import com.leo.study.service.CallBackService;

/**
 * @author liusl
 * @date 2019/1/23-17:07
 */
public class TeacherImpl implements CallBackService {

    public void ask(){
        System.out.println("老师问了XXX一个问题：问题是XXX");
        System.out.println("老师给了XXX10分钟时间，他自己抽烟去了！！！");
    }


    @Override
    public void callBack(String content) {
        System.out.println("老师收到了XXX的答案，答案是:"+content);
    }
}
